package com.example.student.common;

/**
 * 返回码常量
 */
public class ResultCode {
    /**
     * 成功
     */
    public static final Integer SUCCESS = 200;

    /**
     * 失败
     */
    public static final Integer FAILED = 500;

    /**
     * 参数校验失败
     */
    public static final Integer VALIDATE_FAILED = 400;

    /**
     * 未认证
     */
    public static final Integer UNAUTHORIZED = 401;

    /**
     * 未授权
     */
    public static final Integer FORBIDDEN = 403;

    /**
     * 资源不存在
     */
    public static final Integer NOT_FOUND = 404;
} 